package com.base.work.adapter;


import com.base.commonlib.recy.HolderTypeData;
import com.base.work.bean.WorkEntity;

import java.util.ArrayList;
import java.util.List;

/**
 */
public class WorkData {
    public static List<HolderTypeData> getWorkFragmentDatas(){
        List<HolderTypeData> datas = new ArrayList<HolderTypeData>();

        List<WorkEntity> list = new ArrayList<>();
        WorkEntity workEntity = null;



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/work/situation");
        workEntity.setTextInfo("疫情");
        workEntity.setWebUrl("ic_per_reg");
        list.add(workEntity);



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/work/oa");
        workEntity.setWebUrl("ic_kaipiaoshenqing");
        workEntity.setTextInfo("OA办公");
        list.add(workEntity);




        CateViewHolder cateViewHolder = new CateViewHolder();

        cateViewHolder.setData(list);

        datas.add(cateViewHolder);

        return datas;
    }

    public static List<HolderTypeData> getWorkSearchFragmentDatas(){
        List<HolderTypeData> datas = new ArrayList<HolderTypeData>();

        List<WorkEntity> list = new ArrayList<>();
        WorkEntity workEntity = null;



        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_per_reg");
        workEntity.setmClass("");
        workEntity.setTextInfo("月度数据");
        workEntity.setWebUrl("http://data.stats.gov.cn/easyquery.htm?cn=A01");

        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_qingjiashenqing");
        workEntity.setmClass("");
        workEntity.setTextInfo("季度数据");
        workEntity.setWebUrl("http://data.stats.gov.cn/easyquery.htm?cn=B01");

        list.add(workEntity);
        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_hetong");
        workEntity.setmClass("");
        workEntity.setTextInfo("年度数据");
        workEntity.setWebUrl("http://data.stats.gov.cn/easyquery.htm?cn=C01");

        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_fapiaotaizhang");
        workEntity.setmClass("");
        workEntity.setTextInfo("普查数据");
        workEntity.setWebUrl("http://www.stats.gov.cn/tjsj/pcsj/");

        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_yongyingdengji");
        workEntity.setmClass("");
        workEntity.setTextInfo("部门数据");
        workEntity.setWebUrl("http://data.stats.gov.cn/staticreq.htm");
        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("ic_richangbaoxiao");
        workEntity.setmClass("");
        workEntity.setTextInfo("城管招聘");
        workEntity.setWebUrl("http://m.zgjfks.com:88/fjxjzp/cgjzp/");

        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/work/situation");
        workEntity.setTextInfo("疫情");
        workEntity.setWebUrl("ic_per_reg");
        list.add(workEntity);



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/work/oa");
        workEntity.setWebUrl("ic_kaipiaoshenqing");
        workEntity.setTextInfo("OA办公");
        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_hetong");
        workEntity.setId("LfPpv6eQdHCux9NduHB");
        workEntity.setTextInfo("门店登记");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);

        CateViewHolder cateViewHolder = new CateViewHolder();

        cateViewHolder.setData(list);

        datas.add(cateViewHolder);

        return datas;
    }
    public static List<HolderTypeData> getWorkStationFragmentDatas(){
        List<HolderTypeData> datas = new ArrayList<HolderTypeData>();



        List<WorkEntity> list = new ArrayList<>();
        WorkEntity workEntity = null;


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("todone");
        workEntity.setWebUrl("ic_car_reg");
        workEntity.setTextInfo("车辆登记");
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/careg/registperson");
        workEntity.setTextInfo("人员登记");
        workEntity.setWebUrl("ic_per_reg");
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("todotwo");
        workEntity.setWebUrl("ic_car_reg_sheque");
        workEntity.setTextInfo("车辆登记");
        list.add(workEntity);

        CateViewHolder cateViewHolder = new CateViewHolder();

        cateViewHolder.setData(list);

        datas.add(cateViewHolder);

        return datas;
    }

    public static List<HolderTypeData> getWorkOAFragmentDatas(){
        List<HolderTypeData> datas = new ArrayList<HolderTypeData>();

        List<WorkEntity> list = new ArrayList<>();
        WorkEntity workEntity = null;


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_hetong");
        workEntity.setId("9d33b3b27b2d44dfa977c6ad78f6b3db");
        workEntity.setTextInfo("合同台账");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_kaipiaoshenqing");
        workEntity.setId("e823199065f045b19753e85fa1c6672c");
        workEntity.setTextInfo("开票申请单");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fapiaotaizhang");
        workEntity.setId("1063f509f37140379ec7509a2a97bb00");
        workEntity.setTextInfo("发票台账");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_richangbaoxiao");
        workEntity.setId("9f39d137649644a1871163aa824158d6");
        workEntity.setTextInfo("日常报销");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_qingjiashenqing");
        workEntity.setId("OMFiwimQ8KmFlHEiPR3");
        workEntity.setTextInfo("请假申请");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_yongyingdengji");
        workEntity.setId("f3240e73d50b495bbe791eaa1db15f56");
        workEntity.setTextInfo("用印登记");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_sichegongyong");
        workEntity.setId("e893023af74443eda37e28fc030c3a1d");
        workEntity.setTextInfo("私车公用");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("286ba47a4b804575a38e470bf7f6fc3a");
        workEntity.setTextInfo("付款申请单");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("cdbee06c59d24d78bdbd30b18b13bb03");
        workEntity.setTextInfo("工作任务");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);



        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("165c57630c6f490490cce3e8c1b1fc75");
        workEntity.setTextInfo("FAQ管理");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);

        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("0afa71b38a394b4ca1cde198eced33d3");
        workEntity.setTextInfo("产品管理");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("8e02cea85ecd414cbcd4384cf9ece9ca");
        workEntity.setTextInfo("著作权管理");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        workEntity = new WorkEntity();
        workEntity.setLoadPic("");
        workEntity.setmClass("/case/case2add");
        workEntity.setWebUrl("ic_fukuaishenqin");
        workEntity.setId("e2c406890c78467184d985cd5c4721a7");
        workEntity.setTextInfo("供应商管理");
        workEntity.setNum(1);
        workEntity.setType("5");
        workEntity.setCustom(true);
        workEntity.setCase(true);
        list.add(workEntity);


        CateViewHolder cateViewHolder = new CateViewHolder();

        cateViewHolder.setData(list);

        datas.add(cateViewHolder);

        return datas;
    }
}
